package com.kbbywyclient.ui.contarct;

import com.kbbywyclient.data.entity.LoansTableMenu;
import com.kbbywyclient.data.entity.ResultInfo;
import com.kbbywyclient.data.entity.TabledBuy;
import com.kbbywyclient.ui.contarct.base.IBaseView;

import java.util.List;

/**
 * Description:
 * Created by FHW
 * on 2017/4/12
 */

public class ProductTableContract {

    public interface View extends IBaseView {
        //匹配表单
        void loadSucProductTable(List<ResultInfo> resultInfoList);

        void loadFaiProductTable(String errorMsg);

        void setAdapterOrNotify(List<ResultInfo> resultInfoList);

        void setNoMore();

        void setMoreComplete();

        //申请表筛选菜单
        void loadSucMenu(LoansTableMenu loansTableMenu);

        void loadFaiMenu(String errorMsg);

        //购买 表单

        void loadSucTableBuy(TabledBuy tabledBuy, String buyType);

        void loadFaiTableBuy(String errorMsg);

    }

    public interface Presenter {

        void getProductOrderLoans(boolean isClean, String SalesID, String City
                , String LoansType, String WorkTypeList, String ProductLoansID, String CreditCard, String House, String Car
                , String Credit, String MonthlyIncome, int ApplyStarDateTime, int ApplyEndDateTime);

        void getloansOrdersMenu(String SalesID);

        void getApplyLoansBuyy(String SalesID, String ApplyLoansID, String ApplyLoansSN, String Monopolize, String BuyType);

    }

}
